package com.wootion.cims.module.communitymerchant.service;

import com.wootion.cims.module.communitymerchant.dto.PageQueryMerchant;
import com.wootion.cims.module.communitymerchant.dto.ShopDto;
import com.wootion.cims.module.communitymerchant.excel.ShopExcel;
import com.wootion.cims.response.ResponseResult;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author: LanQiang
 * @Date: 2023/01/03/15:51
 * @Description: 作用xxx
 */
public interface MerchantService {
    /**
     * 社区商户列表查询
     * @param pageQueryMerchant
     * @return
     */
    ResponseResult list(PageQueryMerchant pageQueryMerchant);
    /**
     * 新增社区商户
     * @param shopDto
     * @return
     */
    ResponseResult save(ShopDto shopDto);
    /**
     * 修改社区商户
     * @param shopDto
     * @return
     */
    ResponseResult update(HttpServletRequest request,ShopDto shopDto);
    /**
     * 根据id查询当前商户信息
     * @param id
     * @return
     */
    ResponseResult find(String id);
    /**
     * 批量删除商户信息
     * @param shopDto
     * @return
     */
    ResponseResult batchDelete(ShopDto shopDto, HttpServletRequest request);
    /**
     * 商户列表excel导出
     * @return
     */
    ResponseResult excelMerchant(ShopExcel shopExcel);
}
